package cn.dankal.flyaudio.contract;

import java.util.List;

import cn.dankal.basiclib.base.BasePresenter;
import cn.dankal.basiclib.base.BaseView;
import cn.dankal.basiclib.pojo.AddressEntity;
import cn.dankal.business.Constants;
import cn.dankal.flyaudio.login.AccountCheckContract;

public interface AddressManagerContract {

    interface Presenter extends BasePresenter<AddressManagerContract.View> {

        void getMyAddress();

        void addAddress(AddressEntity params);

        void UpdateAddress(AddressEntity params,boolean isMain);

        void deleteAddress(String uuid);
    }


    interface View extends BaseView {

        void handleAddressList(List<AddressEntity> addressEntities);
        void updateSuccess();
    }
}
